home *** CD-ROM | disk | FTP | other *** search
- 48
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- DisableSwitching
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baDisableSwitching disables the task switching keys - Alt-Tab, Alt-Esc, and Ctrl-
- --- RECORDSEPARATOR ---
- Esc. On Windows 95, the Ctrl-Alt-Del command is also disabled.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baDisableSwitching( On )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- If On is true, then task switching will be disabled.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Void
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- baDisableSwitching( true )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- baDisableSwitching( true )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- If you disable switching, you should restore it again before your application quits. If
- --- RECORDSEPARATOR ---
- you fail to do so, under Windows 95 the system keys will remain disabled. Under
- --- RECORDSEPARATOR ---
- Windows 3.1, at best there will be loss of system resources; more likely, a
- --- RECORDSEPARATOR ---
- complete system crash.
- --- RECORDSEPARATOR ---
- For this function to work, you must first set the Director property exitLock to true.
- --- RECORDSEPARATOR ---
- Add this code set the exitLock to true before you call this function. This will also
- --- RECORDSEPARATOR ---
- mean that your user can not quit the application using Alt-F4, Esc, etc.
- --- RECORDSEPARATOR ---
- Under Windows 95, if a password protected screen saver is activated after this
- --- RECORDSEPARATOR ---
- function is called, task switching will be possible after the password has been
- --- RECORDSEPARATOR ---
- entered.
- --- RECORDSEPARATOR ---
- Ctrl-Alt-Delete will still be enabled under Windows NT, 2000 and XP.